package com.parenting.request.wechat;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@Accessors(chain = true)
@ApiModel("手机号与验证码参数)")
public class PhoneCodeRequest implements Serializable {

    @ApiModelProperty(value = "手机号", required = true)
    @NotNull(message = "确认密码不能为空")
    private String phone;

    @ApiModelProperty(value = "确认密码", required = true)
    @NotNull(message = "确认密码不能为空")
    private  String code;

}
